using System;
using Wolfpack.Periscope.Core.Interfaces.Infrastructure;

namespace Wolfpack.Periscope.Core.Infrastructure
{
    public class ConsoleLogger : ILogger
    {
        public void LogDebug(string format, params object[] args)
        {            
            Console.WriteLine(format, args);
        }
        public void LogWarning(string format, params object[] args)
        {
            Console.WriteLine("* WARNING *");
            Console.WriteLine(format, args);
        }

        public void LogError(Exception exception)
        {
            Console.Write("** ERROR **");
            Console.Write(exception.ToString());
        }
    }
}